package com.laomo.lib_bt.callback;

import android.bluetooth.BluetoothDevice;
import android.bluetooth.BluetoothGatt;

/**
 * 类说明：蓝牙连接状态回调
 *
 * @author laomo
 * @date 2025/4/22 14:20
 */
public interface ConnectCallbackInterface {
    //连接中
    void onConnecting(String address, BluetoothDevice device);
    //连接MTU改变
    void onMtuChanged(String address, BluetoothGatt gatt, int mtu, int status);
    //连接成功
    void onConnectSuccess(String address, BluetoothGatt gatt);
    //连接失败
    void onConnectFailed(String address, BluetoothDevice device);
    //断开连接
    void onDisConnect(String address, BluetoothGatt gatt);
}
